<template>
  <div class="commodity" >
    <div class="tab">
      <!--顾客列表-->
      <el-row>
        <div>
          <el-table
                  :data="strategyList"
                  stripe="true"
                  border="true"
                  style="width: 100%">
            <el-table-column
                    prop="symptom"
                    label="《---发病症状" style="width: 5%">
            </el-table-column>
            <el-table-column
                    prop="emergencystrategy"
                    label="急救攻略" style="width: 30%">
            </el-table-column>

          </el-table>
        </div>
      </el-row>
    </div>

  </div>
<!--<iframe-->
<!--        src="../../static/Unity/index.html"-->
<!--        ref="myUnity"-->
<!--        height="80%"-->
<!--        width="80%"-->
<!--&gt;-->
<!--</iframe>-->

        </template>
        <script>
          // import Unity from "vue-unity-webgl";
          export default {
              // components: { Unity },
              name: "",
              data(){
              return{
                strategyList:[],
              }
            },
            methods:{
              QueryStrategy() {
                this.strategyList = []
                this.$http.get('/emergencyStrategyDO/query').then(res => {
                  this.strategyList = res.data.data
                  console.log(res.data.data)
                })
              }
            },
            created() {
                this.QueryStrategy()
            }
          }
        </script>
        <style scoped>
          @import url("strategy.css");
        </style>